from elixir import *

dbpath = "%(stocky_datadir)s/profile.sqlite" % stocky_globals
debug(dbpath)
metadata.bind = "sqlite:///" + dbpath
metadata.bind.echo = stocky_globals['debug']

def commit():
    session.commit()

